let api = {};
let pre = '/v1'
// let pre = '/wbApi'
let iot = '/iotApi'

/** 登录 */
api.captcha = pre + '/captcha'
api.login = pre + '/login'
api.logout = pre + '/logout'

/** 用户*/
api.user = {
    page: pre + '/to_dept/page',
    list: pre + '/to_dept/list',
    add: pre + '/to_dept/add',
    update: pre + '/to_dept/edit',
    del: pre + '/to_dept/delete',
    findById: pre + '/to_dept/info',
    tree: pre + '/to_dept/tree'
}
export default api;
